package com.example.demo.disruptor;

import com.lmax.disruptor.EventHandler;

/**
 * @author liweizhi
 * @date 2020/3/20 15:09
 */
public class LongEventHandler implements EventHandler<LongEvent> {
    @Override
    public void onEvent(LongEvent event, long sequence, boolean endOfBatch) {
        System.out.println(Thread.currentThread().getName() + "| Event: " + event);
    }
}
